﻿<?php session_start()?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Apartment for rent in HCMC | Apartment for lease in HCMC | Apartment for sale in HCMC | Saigon pearl | The Manor | The Manor Officetel  | khvrealestate.com </title>
<link href="<?php echo base_url()?>public/css/home/main.css" rel="stylesheet" type="text/css" />
<script src="<?php echo base_url()?>public/scripts/home/swfobject_modified.js" type="text/javascript"></script>

<script type="text/javascript">

function chang_bg(string){
	
	id1 = string+"1";
	id2 = string+"2";
	id3 = string+"3";
    document.getElementById(id1).className="left_cuv";
	document.getElementById(id2).className="mid_cuv";
	document.getElementById(id3).className="right_cuv";
	
}
function chang_bk(string){
	id1 = string+"1";
	id2 = string+"2";
	id3 = string+"3";
	document.getElementById(id1).className="aaa";
	document.getElementById(id2).className="bbb";
	document.getElementById(id3).className="ccc";
}

</script>

</head>
<body>
<div id="outer">
	<div id="flash">
   	  <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1000" height="200">
    	  <param name="movie" value="<?php echo base_url()?>public/images/home/banner.swf" />
    	  <param name="quality" value="high" />
    	  <param name="wmode" value="opaque" />
    	  <param name="swfversion" value="6.0.65.0" />
    	  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don't want users to see the prompt. -->
    	  <param name="expressinstall" value="<?php echo base_url()?>public/images/scripts/expressInstall.swf" />
    	  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
    	  <!--[if !IE]>-->
    	  <object type="application/x-shockwave-flash" data="<?php echo base_url()?>public/images/home/banner.swf" width="1000" height="200">
    	    <!--<![endif]-->
    	    <param name="quality" value="high" />
    	    <param name="wmode" value="opaque" />
    	    <param name="swfversion" value="6.0.65.0" />
    	    <param name="expressinstall" value="Scripts/expressInstall.swf" />
  	    </object>
  	  </object>
	</div><!--end flash-->
  <?php $this->load->view("template/menu_top");?>
   <div id="outer_3main">
    <div id="left" class="clear">
		<?php $this->load->view("template/menu_left.php");?>
        <div class="search">
        	<form action="<?php echo base_url()?>index.php/news/search" method="post">
            	<span class="txt"><?php if(empty($_SESSION['lang'])) echo "Code:" ;else echo "Mã tin:"?></span><input type="text" class="txt_input" name="code"/><div style="clear : both"></div>
                <span class="txt"><?php if(empty($_SESSION['lang'])) echo "Keyword:" ;else echo "Từ khóa:"?></span><input type="text" class="txt_input" name="keyword"/><div style="clear : both"></div>
                <span class="txt"><?php if(empty($_SESSION['lang'])) echo "Demand:" ;else echo "Nhu cầu:"?></span>
                <select class="txt_input" name="need">
                	<option value=""><?php if(empty($_SESSION['lang'])) echo "Please select" ;else echo " vui lòng chọn "?></option>
                    <option value="0"><?php if(empty($_SESSION['lang'])) echo "For sale" ;else echo " Cận bán "?></option>
                    <option value="1" ><?php if(empty($_SESSION['lang'])) echo "For lease/For rent" ;else echo " Cho thuê "?></option>
                </select><div style="clear : both"></div>
                <span class="txt"><?php if(empty($_SESSION['lang'])) echo "Tower:" ;else echo " Tòa nhà:"?>:</span>
                <select class="txt_input" name="tower">
                	<option value="1"><?php if(empty($_SESSION['lang'])) echo "Please select" ;else echo " vui lòng chọn "?></option>
					<?php $this->load->view("template/search_tower")?>
                </select><div style="clear : both"></div>
                <span class="txt"><?php if(empty($_SESSION['lang'])) echo "Type :" ;else echo " Loại BDS"?></span>
                <select class="txt_input" name="Type">
                	<option value=""><?php if(empty($_SESSION['lang'])) echo "Please select" ;else echo " vui lòngs chọn "?></option>
                    <option value="0" selected="selected"><?php if(empty($_SESSION['lang'])) echo "Apartment" ;else echo " Căn hộ thường"?></option>
                    <option value="1" selected="selected"><?php if(empty($_SESSION['lang'])) echo "Penthouse" ;else echo " Penthouse "?></option>
                    <option value="2" selected="selected"><?php if(empty($_SESSION['lang'])) echo "Duplex" ;else echo " Duplex "?></option>
                    <option value="3" selected="selected"><?php if(empty($_SESSION['lang'])) echo "Villa" ;else echo " Villa "?></option>
                </select><div style="clear : both"></div>
                <span class="txt"><?php if(empty($_SESSION['lang'])) echo "Furniture" ;else echo " Nội thất"?>:</span>
                <select class="txt_input" name="Furniture">
                	<option value=""><?php if(empty($_SESSION['lang'])) echo "Please select" ;else echo " vui lòngs chọn "?></option>
                    <option value="0" selected="selected"><?php if(empty($_SESSION['lang'])) echo " Unfurnished" ;else echo " Nhà trống"?></option>
                    <option value="1" selected="selected"><?php if(empty($_SESSION['lang'])) echo " Basic furniture" ;else echo " Nội thất cơ bản"?></option>
                    <option value="2" selected="selected"><?php if(empty($_SESSION['lang'])) echo " Fully furnished" ;else echo " Nội thất đầy đủ"?></option>
                    <option value="3" selected="selected"><?php if(empty($_SESSION['lang'])) echo " Fully furnished" ;else echo " Nội thất cao cấp"?></option>
                </select><div style="clear : both"></div>
               <span class="txt"><?php if(empty($_SESSION['lang'])) echo " Bedrooms: " ;else echo "Số phòng:"?></span>
                <select class="txt_input fix_input" name="bedrooms">
                <?php for($i=1 ; $i<=6 ; $i++){?>
                	<option value="<?php echo $i?>"><?php echo $i?></option>
                 <?php }?>
                </select>

			<span class="gn">-</span>

                <select class="txt_input fix_input" name="bedrooms2">
          		 <?php for($i=1 ; $i<=16 ; $i++){?>
                	<option value="<?php echo $i?>"><?php echo $i?></option>
                 <?php }?>
                </select><div style="clear : both"></div>

               <span class="txt"><?php if(empty($_SESSION['lang'])) echo " Floors: " ;else echo "Số lầu:"?></span>
                <select class="txt_input fix_input" name="floors">
          		 <?php for($i=1 ; $i<=36 ; $i++){?>
                	<option value="<?php echo $i?>"><?php echo $i?></option>
                 <?php }?>
                </select><span class="gn">-</span>
                <select class="txt_input fix_input" name="floors2">
          		 <?php for($i=1 ; $i<=36 ; $i++){?>
                	<option value="<?php echo $i?>"><?php echo $i?></option>
                 <?php }?>
                </select><div style="clear : both"></div>
               <span class="txt"><?php if(empty($_SESSION['lang'])) echo "Area:" ;else echo "Diện tích:"?></span>
                <select class="txt_input fix_input" name="area">

          		 <?php for($i=80 ; $i<=200 ; $i+=20){?>
                	<option value="<?php echo $i?>"><?php echo $i?></option>
                 <?php }?>
                 	<option value="<?php echo 300?>"><?php echo 300?></option>
                </select><span class="gn">-</span>
                <select class="txt_input fix_input" name="area2">
         		 <?php for($i=80 ; $i<=200 ; $i+=20){?>
                	<option value="<?php echo $i?>"><?php echo $i?></option>
                 <?php }?>
                 	<option value="<?php echo 300?>"><?php echo 300?></option>
                    <option value="<?php echo 500?>"><?php echo 500?></option>
                </select><div style="clear : both"></div>
				<span class="txt" style="text-decoration:underline; font-style:italic"><?php if(empty($_SESSION['lang'])) echo " Price: " ;else echo "Giá:"?></span>
                <div class="clear"></div>
                 <span class="txt"><?php if(empty($_SESSION['lang'])) echo " From: " ;else echo "Từ:"?></span>
                 <input type="text" class="txt_input" name="price_from"/><div style="clear : both"></div>
                <span class="txt"><?php if(empty($_SESSION['lang'])) echo "To:" ;else echo "Đến:"?></span>
                <input type="text" class="txt_input" name="price_to"/><div style="clear : both"></div>
          <select class="txt_input fix_input" style="margin:2px 5px 0 44px" name="price_type">
                	<option value="1">USD</option>
                    <option value="2" selected="selected">SJC</option>
                    <option value="3" >VND</option>
                </select>
          <select class="txt_input" name="tygia">
                	<option value="1">Please select</option>
                    <option value="0">m<sub>2</sub></option>
                    <option value="1" ><?php if(empty($_SESSION['lang'])) echo "month" ;else echo "Tháng"?></option>
                </select>
                <?php if(empty($_SESSION['lang'])){?>
					<input type="image" src="<?php echo base_url()?>public/images/home/timkiem_eng.gif" class="btn_search"/>
                    <?php } else {?>
                    <input type="image" src="<?php echo base_url()?>public/images/home/timkiem_vie.gif" class="btn_search"/>
                    <?php }?>
            </form>
        </div>	<!--end search-->
        <div class="btm_search"></div>
    </div><!--end left-->
    <div id="main">
    	<?php
			if(empty($main))
				$main = "home";
			$this->load->view($main)
		?>

  </div><!--end main-->
  <div id="right">
	  <div class="contact">
       	<p class="title_right"><?php if(empty($_SESSION['lang'])) echo "Contact";else echo "Liên Hệ Thuê / Ký Gửi"?> </p>
          <p class="contact_info"><span class="contact_name">Ms.Jazmin</span><br />
              Tel: 0916 97 88 10<br />
              Email: <a href="#" class="mail">jazmin4lease@gmail.com</a>
          </p>
        </div>
        <div class="contact_btm"></div>
       	<div class="contact">
            	<p class="title_right"><?php if(empty($_SESSION['lang'])) echo "Support Online";else echo "Hỗ trợ trực tuyến"?></p>

                <?php include ("right.php")?>
        </div>
        <div class="contact_btm"></div>
       	<div class="contact">
            	<p class="title_right">Thông Tin Cần Biết</p>
                <a href="#" class="giavang">Giá Vàng -Ngoại Tệ</a>
        </div>
        <div class="contact_btm"></div>
  </div>
  </div><!--end outer_3main-->
  <div id="footer">
    <span>Công Ty TNHH HTV Kim Hạnh Việt</span><br />
    Headquarters: District 2, HCM City, Viet Nam<br />
    Phone: 0932 600 040 (Ms.Hạnh) - 0902 779 900 (Ms.Hiền)<br />
    E-mail: <a href="#">hanh_huynh82@yahoo.com</a> -<a href="#">hanh.KHV@gmail.com</a><br />
  </div><!--end footer-->
</div><!--end outer-->
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
</body>
</html>
